package edu.haiu.training.ui;

import org.displaytag.decorator.TableDecorator;

public class TableAdd2 extends TableDecorator {
	public String getAction(){
		TableAdd a = (TableAdd)getCurrentRowObject();
		String action = "<a href=\"mailto:"+a.getAction()+"\">"+a.getAction()+ "</a>";
		return action;
	}
	
	public String getUsername(){
		TableAdd a = (TableAdd)getCurrentRowObject();
		return a.getUsername();
	}
	
	public String getCreatedDate(){
		TableAdd a = (TableAdd)getCurrentRowObject();
		return a.getCreateaDate();
	}
	
	public String getStation(){
		TableAdd a = (TableAdd)getCurrentRowObject();
		return a.getStation();
	}
}
